<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template member/header}

	<input type="hidden" id="hdErrMsg" />
	<div class="main-head">
		<span>用户中心 &gt; 账户管理 &gt; 银行卡列表</span>
	</div>
	<div class="con_box">
		<div class="form-box">
			<span><a href="{U('member/bank/add')}" class="btn">新增</a></span>
		</div>
		<div class="table-list">
			<table>
				<thead>
					<tr>
						<th>开户名</th>
						<th>开户行</th>
						<th>卡号</th>
						<th>绑定时间</th>
					</tr>
				</thead>
				<tbody>
					{if $data}
						{loop $data as $val}
						<tr>
							<td>{$val['truename']}</td>
							<td>{$val['bank']}</td>
							<td>{substr($val['bankcard'],0,4)}******{substr($val['bankcard'],-4)}</td>
							<td>{date('Y-m-d H:i:s',$val['dateline'])}</td>
						</tr>
						{/loop}
					{else}
						<tr>
							<td colspan="7">暂无数据</td>
						</tr>
					{/if}
				</tbody>
			</table>
		</div>
	</div>

    <div id="SEARCH-TIP" style="display:none;">
        <div class="mask"></div>
        <div class="popup tips-popup">
            <div class="popup-head">
                <span>提示</span>
            </div>
            <div class="popup-body">
                <p>查询中,请您耐心等待.....</p>
            </div>
        </div>
    </div>

{template member/footer}